CFLAGS = -I ./ -g -Wall
LDFLAGS = ./utils/utils.a -pthread

# OS remove command
ifeq ($(OS),Windows_NT)
	RM = del
else
	RM = rm -rf
endif


all: main.o utils/utils.a
	gcc -o $@ $< $(LDFLAGS)

%.o: %.c
	gcc -c $(CFLAGS) $<

clean:
	$(RM) *.o
	$(RM) -rf *.exe
